﻿using System.Collections.Generic;
using VotesResults.Models;

namespace VotesResults.Daos
{
    public interface IQuestionDao
    {
        List<Question> Load();
        List<Question> Load(int voteId);
        List<QuestionModel> LoadAvgMarks(int voteId);
        List<QuestionModel> LoadActualQuestions(int voteId);

        Question Get(int id);
        void Add(Question question);
        void Update(Question question);
        void Remove(int id); 
    }
}